import request from '@/utils/request'

// 查询线上信贷业务占比-信贷类报3列表
export function listXdywonline(query) {
  return request({
    url: '/buss/reportLsb/xsxdywzb',
    method: 'get',
    params: query
  })
}

// 查询线上信贷业务占比-信贷类报3详细
export function getXdywonline(sjrq) {
  return request({
    url: '/buss/xdywonline/' + sjrq,
    method: 'get'
  })
}

// 新增线上信贷业务占比-信贷类报3
export function addXdywonline(data) {
  return request({
    url: '/buss/xdywonline',
    method: 'post',
    data: data
  })
}

// 修改线上信贷业务占比-信贷类报3
export function updateXdywonline(data) {
  return request({
    url: '/buss/xdywonline',
    method: 'put',
    data: data
  })
}

// 删除线上信贷业务占比-信贷类报3
export function delXdywonline(sjrq) {
  return request({
    url: '/buss/xdywonline/' + sjrq,
    method: 'delete'
  })
}
